package com.sinosoft.attachment;

import java.util.List;

import com.sinosoft.base.GenericDao;

public interface AttachmentDao extends GenericDao<Attachment, Long> {
	
	List<Attachment> getAttachments(Attachment ach,int index,int pagesize);
	
	void saveAttachment(Attachment attachment);
	
	int getAttachment(String sql);
	
	Attachment getAttachmentById(Long achid);
	
	void deleteAttachment(Attachment ach);
}
